﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HR60_PanelSoft.View.Base
{
	/// <summary>
	/// 选项对象，作为ComboBox等控件数据绑定的中介
	/// </summary>
	public class SelectItem
	{
		// 显示内容
		private string _text;

		// 数据内容
		private object _value;

		public string text
		{
			get { return _text; }
			set { this._text = value; }
		}

		public object value
		{
			get { return _value; }
			set { this._value = value; }
		}

		public SelectItem(string text, object value)
		{
			this._text = text;
			this._value = value;
		}
	}
}
